package com.tecode.java.bank02;

public class Customer {
	
	private String firstName;
	private String lastName;
	private Account account;  //账号类型的对象
	public String getLastName() {
		return lastName;
	}
	
	public String getFirstName() {
		return firstName;
	}
	public Account getAccount() {
		return account;
	}
	
	
	public void setAccount(Account account) {
		this.account = account;
	}
	
	
	public Customer(String firstName,String lastName){
		this.firstName = firstName;
		this.lastName = lastName;
	}

}
